GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcSubtotalFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 255 items: function_num, [ref1], [ref2], ..

Function_num is the number 1 to 11 (includes hidden values) or 101 to 111 (ignores hidden values) that specifies which function to use in calculating subtotals within a list.

Ref1, ref2 are 1 to 254 ranges or references for which you want the subtotal.

Returns a subtotal in a list or database.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcSubtotalFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 255 items: function_num, [ref1], [ref2], ..

Function_num is the number 1 to 11 (includes hidden values) or 101 to 111 (ignores hidden values) that specifies which function to use in calculating subtotals within a list.

Ref1, ref2 are 1 to 254 ranges or references for which you want the subtotal.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcSubtotalFunction Class
CalcSubtotalFunction Members
Overload List